﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Digitalmes
{
    public class ServiceResponse
    {
        public bool Success { get; set; }
        public string Message { get; set; }

        public object Result { get; set; }
        public Exception Exception { get; set; }
    }

    public class ServiceResponse<T>:ServiceResponse
    {       
        public new T Result { get; set; }
    }
}
